<?php
	date_default_timezone_set('America/New_York');
	require("header.php");
	
	// echo "<br /> dumping cookie: ";
	// var_dump($_COOKIE);
	// echo "<br /> dumping session";
	// var_dump($_SESSION);
	echo "Welcome to the home page.<br/>";
	
	require("quizFunctions.php");
	$username = $_SESSION['username'];
	if(userHasTakenTodaysQuiz($username)):
		displayMessageThatUserHasAttemptedTodaysQuiz();
	else:
		displayMessageThatUserHasNotAttemptedTodaysQuiz();
	endif;

?>

